package com.zyz.A_程序基础.B_运算.浮点数;

/**
 * @author: vick
 * @Date: 2025/3/10
 * @Description:
 * @version: 1.0
 */
public class Demo1 {
    public static void main(String[] args) {
        double a1 = 1.0/10;
        System.out.println(a1); //0.1

        double a2 = 1 - 9.0/10; // 0.09999999999999998

        System.out.println(a2);
    }
}
